package com.aorise.model.system;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Auther: zhouhao
 * @Date: 2019/4/26
 * @Description: 对应角色吧
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Role implements Serializable{
    /**
     * 主键
     */
    private Integer id;

    /**
     * 角色名
     */
    private String roleName;

    /**
     * 状态
     */
    private Integer state;

    private Date createTime;

    private Integer createUser;

    private Date updateTime;

    private Integer updateUser;

    /**
     * 权限
     */
    private List<Authority> authorities;

}